package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 耗材表对象 service_supplies
 * 
 * @author ZDL
 * @date 2024-10-21
 */
public class ServiceSupplies extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 耗材ID */
    private Long suppliesId;

    /** 耗材代码 */
    @Excel(name = "耗材代码")
    private String suppliesCode;

    /** 耗材名称 */
    @Excel(name = "耗材名称")
    private String suppliesName;

    /** 耗材单位 */
    @Excel(name = "耗材单位")
    private String suppliesPerunit;

    /** 耗材价格 */
    @Excel(name = "耗材价格")
    private Long suppliesPrice;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date suppliesStartdate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date suppliesEnddate;

    /** 创建者 */
    @Excel(name = "创建者")
    private String suppliesCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date suppliesCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String suppliesUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date suppliesUpdateTime;

    /** 有效标志（0代表启用 2代表不启用） */
    @Excel(name = "有效标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String suppliesUseFlag;

    /** 特需项目标识 */
    @Excel(name = "特需项目标识")
    private String suppliesNeedFlag;

    /** 特殊项目标识 */
    @Excel(name = "特殊项目标识")
    private String suppliesDifferentFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String suppliesDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String suppliesRemark;

    /** 耗材图片 */
    @Excel(name = "耗材图片")
    private String suppliesPicture;

    /** 耗材描述 */
    @Excel(name = "耗材描述")
    private String suppliesDescription;

    public void setSuppliesId(Long suppliesId) 
    {
        this.suppliesId = suppliesId;
    }

    public Long getSuppliesId() 
    {
        return suppliesId;
    }
    public void setSuppliesCode(String suppliesCode) 
    {
        this.suppliesCode = suppliesCode;
    }

    public String getSuppliesCode() 
    {
        return suppliesCode;
    }
    public void setSuppliesName(String suppliesName) 
    {
        this.suppliesName = suppliesName;
    }

    public String getSuppliesName() 
    {
        return suppliesName;
    }
    public void setSuppliesPerunit(String suppliesPerunit) 
    {
        this.suppliesPerunit = suppliesPerunit;
    }

    public String getSuppliesPerunit() 
    {
        return suppliesPerunit;
    }
    public void setSuppliesPrice(Long suppliesPrice) 
    {
        this.suppliesPrice = suppliesPrice;
    }

    public Long getSuppliesPrice() 
    {
        return suppliesPrice;
    }
    public void setSuppliesStartdate(Date suppliesStartdate) 
    {
        this.suppliesStartdate = suppliesStartdate;
    }

    public Date getSuppliesStartdate() 
    {
        return suppliesStartdate;
    }
    public void setSuppliesEnddate(Date suppliesEnddate) 
    {
        this.suppliesEnddate = suppliesEnddate;
    }

    public Date getSuppliesEnddate() 
    {
        return suppliesEnddate;
    }
    public void setSuppliesCreateBy(String suppliesCreateBy) 
    {
        this.suppliesCreateBy = suppliesCreateBy;
    }

    public String getSuppliesCreateBy() 
    {
        return suppliesCreateBy;
    }
    public void setSuppliesCreateTime(Date suppliesCreateTime) 
    {
        this.suppliesCreateTime = suppliesCreateTime;
    }

    public Date getSuppliesCreateTime() 
    {
        return suppliesCreateTime;
    }
    public void setSuppliesUpdateBy(String suppliesUpdateBy) 
    {
        this.suppliesUpdateBy = suppliesUpdateBy;
    }

    public String getSuppliesUpdateBy() 
    {
        return suppliesUpdateBy;
    }
    public void setSuppliesUpdateTime(Date suppliesUpdateTime) 
    {
        this.suppliesUpdateTime = suppliesUpdateTime;
    }

    public Date getSuppliesUpdateTime() 
    {
        return suppliesUpdateTime;
    }
    public void setSuppliesUseFlag(String suppliesUseFlag) 
    {
        this.suppliesUseFlag = suppliesUseFlag;
    }

    public String getSuppliesUseFlag() 
    {
        return suppliesUseFlag;
    }
    public void setSuppliesNeedFlag(String suppliesNeedFlag) 
    {
        this.suppliesNeedFlag = suppliesNeedFlag;
    }

    public String getSuppliesNeedFlag() 
    {
        return suppliesNeedFlag;
    }
    public void setSuppliesDifferentFlag(String suppliesDifferentFlag) 
    {
        this.suppliesDifferentFlag = suppliesDifferentFlag;
    }

    public String getSuppliesDifferentFlag() 
    {
        return suppliesDifferentFlag;
    }
    public void setSuppliesDelFlag(String suppliesDelFlag) 
    {
        this.suppliesDelFlag = suppliesDelFlag;
    }

    public String getSuppliesDelFlag() 
    {
        return suppliesDelFlag;
    }
    public void setSuppliesRemark(String suppliesRemark) 
    {
        this.suppliesRemark = suppliesRemark;
    }

    public String getSuppliesRemark() 
    {
        return suppliesRemark;
    }
    public void setSuppliesPicture(String suppliesPicture) 
    {
        this.suppliesPicture = suppliesPicture;
    }

    public String getSuppliesPicture() 
    {
        return suppliesPicture;
    }
    public void setSuppliesDescription(String suppliesDescription) 
    {
        this.suppliesDescription = suppliesDescription;
    }

    public String getSuppliesDescription() 
    {
        return suppliesDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("suppliesId", getSuppliesId())
            .append("suppliesCode", getSuppliesCode())
            .append("suppliesName", getSuppliesName())
            .append("suppliesPerunit", getSuppliesPerunit())
            .append("suppliesPrice", getSuppliesPrice())
            .append("suppliesStartdate", getSuppliesStartdate())
            .append("suppliesEnddate", getSuppliesEnddate())
            .append("suppliesCreateBy", getSuppliesCreateBy())
            .append("suppliesCreateTime", getSuppliesCreateTime())
            .append("suppliesUpdateBy", getSuppliesUpdateBy())
            .append("suppliesUpdateTime", getSuppliesUpdateTime())
            .append("suppliesUseFlag", getSuppliesUseFlag())
            .append("suppliesNeedFlag", getSuppliesNeedFlag())
            .append("suppliesDifferentFlag", getSuppliesDifferentFlag())
            .append("suppliesDelFlag", getSuppliesDelFlag())
            .append("suppliesRemark", getSuppliesRemark())
            .append("suppliesPicture", getSuppliesPicture())
            .append("suppliesDescription", getSuppliesDescription())
            .toString();
    }
}
